//
//  FBRWHeaderSectionView.m
//  VmiSJ
//
//  Created by 汪的一声就哭了！ on 2017/1/13.
//  Copyright © 2017年 汪的一声就哭了！. All rights reserved.
//

#import "FBRWHeaderSectionView.h"

@implementation FBRWHeaderSectionView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = BackColor;
        self.label = [[UILabel alloc] init];
        [self.contentView addSubview:self.label];
        self.label.textColor = [UIColor colorWithRed:207.0/255.0 green:211.0/255.0 blue:211.0/255.0 alpha:1];
        self.label.font = [UIFont systemFontOfSize:16];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.label.frame = CGRectMake(15, 0, WIDTH-30, self.bounds.size.height);
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
